projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b79e2
)
build: Turn on more warning flags
author
Benjamin Otte
<otte@redhat.com>
Fri, 6 Oct 2017 14:13:45 +0000
(16:13 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 6 Oct 2017 19:23:39 +0000
(21:23 +0200)
-Wshadow these days does not overwarn anymore like it did in gcc 4.
There are no warnings inside gtk, so better enable it to keep it that
way.
-Wuninitialized also has no positives, so I'm gonna turn it on just
because.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index cc449733e1505b6b291a0b04c32df0db290c9dbf..545e16d9bafda9e6040493c2512bf1702c836b8f 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-247,8
+247,6
@@
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wmissing-format-attribute',
'-Wmissing-include-dirs',
'-Wlogical-op',
- '-Wno-uninitialized',
- '-Wno-shadow',
'-Werror=redundant-decls',
'-Werror=implicit',
'-Werror=nonnull',